home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.compilers / comp.sys.amiga.programmer_34130_000037.msg < prev    next >
Encoding:
Text File  |  1994-11-27  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: news.chalmers.se!sunic!pipex!howland.reston.ans.net!gatech!concert!sas!mozart.unx.sas.com!jamie
  3. From: jamie@cdevil.unx.sas.com (James Cooper)
  4. Subject: Re: Resident Programs
  5. Originator: jamie@cdevil.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <CrI35y.A83@unx.sas.com>
  8. Date: Thu, 16 Jun 1994 17:27:34 GMT
  9. References: <2tg1tv$e5n@dsm6.dsmnet.com> <4oJYu*lZ1@yaps.dinoco.de>,<CrHt0C.43E@unx.sas.com> <2tpqsc$iba@dsm6.dsmnet.com>
  10. Nntp-Posting-Host: cdevil.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 27
  13.  
  14.  
  15. In article <2tpqsc$iba@dsm6.dsmnet.com>, mikebockert@dsm1.dsmnet.com writes:
  16. >Ok thanks for the info on the resident code.. I have heard that the ctime() as
  17. >well as the gmtime(), which I am using to convert number of seconds from 1970
  18. >to readable time, is not compatible with a resident program since it uses a
  19. >static varaible or something.. if that is true I would have to replace it I
  20. >suppose.. is that true?
  21.  
  22. Nope.  Just link with cres.o, and you can use any routine from our
  23. libraries.
  24.  
  25. cres.o makes a complete new copy of *all* globals & statics each time
  26. the program is invoked, so there's no problem.
  27.  
  28. As stated in my previous message, the only thing you'ld need to worry
  29. about is if you have an interrupt routine, a callback Hook, or one of
  30. the other, newer, more esoteric ways to get yourself into trouble... :-)
  31.  
  32. -- 
  33. ---------------
  34. Jim Cooper
  35. (jamie@unx.sas.com)                             bix: jcooper
  36.  
  37. Any opinions expressed herein are mine (Mine, all mine!  Ha, ha, ha!),
  38. and not necessarily those of my employer.
  39.  
  40. Remember, "Euphemisms are for the differently brained."
  41.